package com.xiaoyudeguang.util;

import com.xiaoyudeguang.wrapper.StreamLambdaQueryWrapper;
import com.xiaoyudeguang.wrapper.StreamQueryWrapper;

public class Wrappers {

    /**
     * 创建StreamQueryWrapper
     */
    public static <T> StreamQueryWrapper<T> query(Class<T> entityClass) {
        return new StreamQueryWrapper<T>(entityClass);
    }

    /**
     * 创建StreamLambdaQueryWrapper
     */
    public static <T> StreamLambdaQueryWrapper<T> lambdaQuery() {
        return new StreamLambdaQueryWrapper<T>();
    }
}
